package com.tegtech.module.captcha.enums;

import com.tegtech.common.enums.IHttpStatus;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 验证码异常码
 */
@Getter
@AllArgsConstructor
public enum CaptchaHttpStatus implements IHttpStatus {
	
	SEND_NUM_LIMIT(2001, "captcha.send.num_limit"),
	SEND_INTERVAL_LIMIT(2002, "captcha.send.interval_limit"),
	CAPTCHA_INVALID(2003, "captcha.invalid"),
	CAPTCHA_EXPIRE(2004, "captcha.expire");
	
	private final Integer code;

	private final String message;

}
